Closed king87515 closed 11 months ago
First, I use feathers oauth to authenticate my login process. In config.json, the following settings:
"microsoft": { "key": "<CLIENT_ID>", "secret": "<CLIENT_SECRET>", "tenantId": "<TENANT_ID>", "scope": [ "email", "profile", "openid" ] }
In authentication,js, I set authentication.register('microsoft', new OAuthStrategy()) with default.
authentication.register('microsoft', new OAuthStrategy())
The oauth step first i want to redirect to "https://login.microsoftonline.com//oauth2/v2.0/authorize?..."
The oauth step first redirect to "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?..."
How should I modify my code or any settings to fix this problem.
I user Feathers version v4 "@feathersjs/authentication": "^4.5.16", "@feathersjs/authentication-local": "^4.5.16", "@feathersjs/authentication-oauth": "^4.5.16", "@feathersjs/configuration": "^4.5.16", "@feathersjs/errors": "^4.5.16", "@feathersjs/express": "^4.5.16", "@feathersjs/feathers": "^4.5.16",
Steps to reproduce
First, I use feathers oauth to authenticate my login process. In config.json, the following settings:
In authentication,js, I set
authentication.register('microsoft', new OAuthStrategy())
with default.Expected behavior
The oauth step first i want to redirect to "https://login.microsoftonline.com//oauth2/v2.0/authorize?..."
Actual behavior
The oauth step first redirect to "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?..."
How should I modify my code or any settings to fix this problem.
System configuration
I user Feathers version v4 "@feathersjs/authentication": "^4.5.16", "@feathersjs/authentication-local": "^4.5.16", "@feathersjs/authentication-oauth": "^4.5.16", "@feathersjs/configuration": "^4.5.16", "@feathersjs/errors": "^4.5.16", "@feathersjs/express": "^4.5.16", "@feathersjs/feathers": "^4.5.16",