Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Project properties - token secret #40

Open
raduhrihoreanu99 opened this issue Jan 11, 2021 · 3 comments
Open

Project properties - token secret #40

raduhrihoreanu99 opened this issue Jan 11, 2021 · 3 comments

Comments

@raduhrihoreanu99
Copy link

Hello. I'm confused about these two properties in application.yaml:

tokenSecret: 926D96C90030DD58429D2751AC1BDBBC tokenExpirationMsec: 864000000

From where do you get the tokenSecret value? Is that a unique value for each app? I try facebook login, the server gives me a JWToken created based on some properties among whichL tokenSecret and tokenExpirationMsec but when I make a request with that token it gives me 401 (Unauthenticated).

Screenshot_13
image

@ramazansakin
Copy link

Hi @raduhrihoreanu99 ,

From where do you get the tokenSecret value?

when you generating and validating the token. Did u check TokenProvider class?

If you request with an old token, that could be expired and you need to get refresh one and try again :)

@kambleaa007
Copy link

i can see nothing in red square bracket

@ramazansakin
Copy link

By the way @raduhrihoreanu99 ,

what s the mean of 8379 port ? Did u change the spring app's port ?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants