How to make a user role expire after 1 year? I'm looking for a way to make a user role expire after 1 year. In Drupal 7 there is the Role Expire module. I found this post using the Rules module. But I can't seem to figure out how to do this in Drupal 8.

More specific, what I want is for a user to buy a Commerce product when payed, the user gets a user role to read articles behind a paywall. This role should be active for a year.

The only option I found is building a custom module but I want to try and find an other to do this first. Hope someone can help with a good suggestion or a push in the right way.
Below are the following ways to do this:

1.As same as role expire another module User expire is available User Expire.

2.By using Rules module you can expire the role after 1 Year.

Try these Modules hope this will help you.