Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Cookies in rocket_oauth2 v0.4.1 not working for rocket v0.5.0-rc.2 #41

Closed
elonaire opened this issue Jan 26, 2023 · 1 comment
Closed
Labels
question Further information is requested

Comments

@elonaire
Copy link

use rocket::http::{Cookies};
The above import is not working for rocket v0.5.0-rc.2. I have tried switching to CookieJar but it seems some changes need to be made to rocket_oauth2 lib to accommodate rocket v0.5.0-rc.2 CookieJar.

@elonaire elonaire changed the title Cookies in rocket_oauth2 v0.4.1 not working with rocket v0.5.0-rc.2 Cookies in rocket_oauth2 v0.4.1 not working for rocket v0.5.0-rc.2 Jan 26, 2023
@jebrosen
Copy link
Owner

Yes, rocket_oauth2 v0.4.x is not compatible with rocket 0.5.0-rc.2 (and probably won't ever be).

Instead you can use rocket_oauth2 0.5.0-rc.1 (see also the next branch: https://github.com/jebrosen/rocket_oauth2/tree/next) with rocket 0.5.0-rc.1, and possibly with rocket 0.5.0-rc.2. I plan to review that soon and make a new release if it makes sense.

@jebrosen jebrosen added the question Further information is requested label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants