locked
identity and Subscription service RRS feed

  • Question

  • User986042657 posted

    Hello all.

    Is there a way to set login expiry dates using Identity 3.0.0? IE if a user subscribed to a service for say 1 year and their subscription expired April 10 2021, what would be the best way to invalidate their login credentials after that date? Is this possible using Identity?

    Cheers!

    Saturday, April 11, 2020 4:40 AM

Answers

  • User-18289217 posted

    There is no such built-in feature but you can always add a column ExpireDate column to your database / Model and then check against it during login

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 11, 2020 10:49 AM

All replies

  • User-18289217 posted

    There is no such built-in feature but you can always add a column ExpireDate column to your database / Model and then check against it during login

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, April 11, 2020 10:49 AM
  • User986042657 posted

    Thanks Kulrom.  

    I just found this article as well which discussed using a service very similar to what you are describing.  Its a little dated (from 2016) but the principle remains the same.  


    Cheers!

    Sunday, April 12, 2020 4:05 AM