Invalid client id for oauth login #2460
Unanswered
MaddyMastering
asked this question in
Q&A
Replies: 1 comment
-
|
@MaddyMastering you may have accidentally leaked credentials. I removed them for now, but you should rotate those creds. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i am trying to implement oauth2 (authorization code flow) using dex.
i can login using static email/password configured, but not able login with github or microsoft
docker image: ghcr.io/dexidp/dex:v2.31.0
**docker run command" docker run --net=host -v ./config.docker.yaml:/etc/dex/config.docker.yaml ghcr.io/dexidp/dex:v2.31.0
config.docker.yaml
issuer: http://127.0.0.1:5556/dex
storage:
type: memory
web:
http: 0.0.0.0:5556
staticClients:
redirectURIs:
- http://localhost:3000/callback
name: 'Example App'
secret: ZXhhbXBsZS1hcHAtc2VjcmV0
oauth2:
responseTypes: ["code", "token", "id_token"]
skipApprovalScreen: true
connectors:
id: github
name: Github
config:
clientID: ""
clientSecret: ""
redirectURI: "http://localhost:3000/callback"
orgs:
teams:
id: microsoft
name: Microsoft
config:
clientID: ""
clientSecret: ""
tenant: "organizations"
redirectURI: "http://localhost:3000/callback"
enablePasswordDB: true
staticPasswords:
hash: "$2a$10$2b2cU8CPhOTaGrs1HRQuAueS7JTT5ZHsHSzYiFPm1leZck7Mc8T4W"
username: "admin"
userID: "08a8684b-db88-4b73-90a9-3cd1661f5466"
am i missing anything here ?
Beta Was this translation helpful? Give feedback.
All reactions