python-social-auth / social-core

Python Social Auth - Core
BSD 3-Clause "New" or "Revised" License
837 stars 543 forks source link

[feat] Add OAuth2 support for OpenStreetMap #877

Closed mmd-osm closed 5 months ago

mmd-osm commented 5 months ago

Fixes #758

Proposed changes

Adding OAuth 2.0 support for OpenStreetMap, since the existing OAuth 1.0a support will be sunset in June 2024. Multiple applications using python-social-auth won't be able to authenticate anymore at that point.

Types of changes

Please check the type of change your PR introduces:

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Other information

I've added more details, including a screen recording, in this comment: https://github.com/python-social-auth/social-core/issues/758#issuecomment-1913232732

Edits:

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (22dcdaa) 77.70% compared to head (85da2df) 77.77%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #877 +/- ## ========================================== + Coverage 77.70% 77.77% +0.06% ========================================== Files 345 347 +2 Lines 10574 10604 +30 Branches 699 699 ========================================== + Hits 8217 8247 +30 Misses 2200 2200 Partials 157 157 ``` | [Flag](https://app.codecov.io/gh/python-social-auth/social-core/pull/877/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-social-auth) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/python-social-auth/social-core/pull/877/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-social-auth) | `77.77% <100.00%> (+0.06%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-social-auth#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

nijel commented 5 months ago

Merged, thanks for your contribution!