Questions tagged [oidc-provider]

25 questions
3
votes
2 answers

How to change access token format using node oidc provider

I implemented node oidc Provider in my project and I got access_token also. but in access token in different format. how to change jwt token format and I added change access_token format to jwt but it could not work. How to resolve it this Issue and…
2
votes
1 answer

Access Denied after interactionFinished using node-oidc-provider

I'm using node-oidc-provider in a custom framework, adonisjs to be specific. At this point, I can visit http://localhost:3333/auth?client_id=foo&redirect_uri=http://localhost:3333/launch&response_type=code&scope=openid&nonce=123&state=321 and be…
2
votes
1 answer

[node oidc provider]: Authorization code flow

I am trying to build an OAuth2.0 server using https://www.npmjs.com/package/oidc-provider. The 2 main flows that I need to support are the client credentials one and the authorization code flow. For the latter the idea is to send an authorization…
2
votes
0 answers

While migrating panva / node-oidc-provider package in nestjs from version 6 to 7.11 getting error 'interaction session not found'

hi i am getting interactions and sessions created in mongo collection. however i am getting below error. at resumeAction (/app/iam-authorization-server-microservice/node_modules/oidc-provider/lib/actions/authorization/resume.js:28:11) at…
2
votes
1 answer

Authlib vs OAuthlib: Are these libraries the same?

I am a beginner in the world of the OAuth2.0 and OpenID Protocols. I would like to implement a custom server - provider for multiple applications. So, to use it for Single Sign-On (SSO). I would like to work with python. Till now I have found four…
georgekrax
  • 1,065
  • 1
  • 11
  • 22
2
votes
1 answer

node oidc-provider (for keycloak)

I am trying to have a basic node oidc-provider app as OIDC provider for my keycloak server. Keycloak correctly links to the login page of my app. After entering username and password I get correctly transfered back to keycloak. However, keycloak…
Bob Sheknowdas
  • 347
  • 3
  • 15
1
vote
1 answer

How to issue access token for both userinfo endpoint and resource server call with node-oidc-provider

Why does node-oidc-provider refuse to issued a single token for both /userinfo endpoint and api(resource server) call ? I don't see at anywhere in both oauth2 and open id connect specs that the authorization server should not issue an access token…
1
vote
0 answers

How to get 'sub' claim on access_token in client credentials grant using oidc-provider npm package

The access_token generated using oidc-provider package for client_credentials grant does not contain 'sub' claim. As per spec: RFC 7523 : JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants Please check the…
1
vote
1 answer

node-oidc-provider access token format

I've setup oidc-provider for pkce (v7x). When I do the following: request a code from /auth with response_type='code' Used the code to get token form /token with grant_type=authorization_code Receive token as shown: { access_token:…
1
vote
1 answer

Invalid token provided in oidc-provider accessing UserInfo enpoint

I started using OAuth2 server with oidc in node js. Github link My goal is simple, to access https://myserver/me which is UserInfo endpoint. While trying to learn how to use the server I also used this guide enter link description here Where I found…
1
vote
1 answer

How to consume node-oidc-provider access_token with express?

I believe it's silly question but how to use node-oidc-provider with express? So I got access_token on the client side, sent request with Bearer {access_token} and what's next? How can I obtain user from that token? I believe oidc-provider must have…
Andrew
  • 262
  • 4
  • 10
0
votes
0 answers

Creating anonymmous session using OpenID Connect Auth Server

I'm currently implementing an OpenID Authorization server (using node oidc-provider npm package) in place of a small in-house /login API built with express & passport, and I have some auth-related features which need to be integrated with our new…
0
votes
2 answers

JWT token validation required at Helidon SE Service

I need JWT token and scope validation at the Helidon SE service where my REST APIs are exposed. I am using OIDC provider by following "https://helidon.io/docs/v2/#/se/security/02_providers#_oidc_provider". I am getting the below error when I do run…
Anbu
  • 1
0
votes
1 answer

how to redirect user to specific custom login page using OIDC Provider interactions

how to redirect user to specific custom login page using OIDC Provider interactions I am trying to implement oidc provider application. It working with the default autorisation Endpoint(login page) I first redirect to :…
0
votes
0 answers

How to define JWT token mode for client_credentials flow in node oidc-provider

I try to use the https://github.com/panva/node-oidc-provider for our OAuth implementation. There we have also some services that have to use client_credentials flows. Currently we are getting an opaque Access Token but we need this as a JWT…
gigo1980
  • 3
  • 2
1
2